package com.jic.product.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.product.entity.ProductDistribute;
import com.jic.product.manage.response.ProductDescribeResponse;
import com.jic.product.manage.response.ProductDistributeResponse;

import java.util.List;


/**
 * 商品分发记录表
 *
 * @author :
 * @version : v1.0.0
 * @email :
 * @since : 2020-01-15 05:53:49
 */
public interface ProductDistributeService {

    long insert(ProductDistribute productDistribute);

    long delete(Long id);

    long update(ProductDistribute productDistribute);

    ProductDistribute queryByPrimaryKey(Long id);

    PageResult<ProductDistribute> queryPage(ProductDistribute productDistribute, Page pageQuery);

    List<Long> queryByProductId(Long ProductId);

    RestResult<List<ProductDistributeResponse>> queryStoreIdByProductId(Long ProductId);
}
